package com.leyou.mall.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.leyou.mall.data.entity.ActivityTime;
import com.leyou.mall.mapper.ActivityTimeMapper;
import com.leyou.mall.service.ActivityTimeService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @ClassName: ActivityTimeServiceImpl
 * @author: LYL
 * @date: 2022/6/23 17:15
 * @Version 1.0
 */
@Service
public class ActivityTimeServiceImpl extends ServiceImpl<ActivityTimeMapper, ActivityTime> implements ActivityTimeService {
    @Resource
    private ActivityTimeMapper activityTimeMapper;

    @Override

    public Integer getCount(String seckillNumber) {

        return activityTimeMapper.getCount(seckillNumber);


    }

    @Override
    public List<ActivityTime> getActivityTimeList(String seckillNumber) {
        return activityTimeMapper.getActivityTimeList(seckillNumber);
    }
}
